<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" 
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html" 
                xmlns:p="http://primefaces.org/ui" 
                xmlns:f="http://java.sun.com/jsf/core">

    <h:column headerClass="ui-state-default" >
        <f:facet name="header">
            <h:outputText value="Ação" />
        </f:facet>
        <div>
            <span>
                <h:commandLink action="#{MB.prepareView}" styleClass="btn btn-info">
                    <i class="icon-eye-open icon-white"> <!--  --> </i> <font color="white">Visualizar</font>
                </h:commandLink>
            </span>
            <span>
                <h:commandLink action="#{MB.prepareEdit}" styleClass="btn btn-success">
                    <i class="icon-edit icon-white"> <!--  --> </i> <font color="white">Editar</font>
                </h:commandLink>
            </span>
            <span>
                <h:commandLink action="#{MB.destroy}" styleClass="btn btn-danger" onclick="return confirm('Confirma a exclusão?');">
                    <i class="icon-trash icon-white"> <!--  --> </i> <font color="white">Excluir</font>
                </h:commandLink>
            </span>
        </div>
    </h:column>
</ui:composition>